projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d80bad0
)
GtkApplication: fix !x11 build
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 20 Jan 2012 13:16:35 +0000
(08:16 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 20 Jan 2012 13:16:35 +0000
(08:16 -0500)
Since we moved the menu models to GTK+, we need to deal with
them on all platforms, even if we don't do anything special
with them on win32.
gtk/gtkapplication.c
patch
|
blob
|
history
diff --git
a/gtk/gtkapplication.c
b/gtk/gtkapplication.c
index b4c29a8a3bc12f748376925b6a882c237d84737d..d2aabc4324081f0b6811c935c86c5b21337f91b6 100644
(file)
--- a/
gtk/gtkapplication.c
+++ b/
gtk/gtkapplication.c
@@
-147,16
+147,17
@@
struct _GtkApplicationPrivate
gboolean register_session;
+ GMenuModel *app_menu;
+ GMenuModel *menubar;
+
#ifdef GDK_WINDOWING_X11
GDBusConnection *session_bus;
const gchar *application_id;
gchar *object_path;
- GMenuModel *app_menu;
gchar *app_menu_path;
guint app_menu_id;
- GMenuModel *menubar;
gchar *menubar_path;
guint menubar_id;